package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 对象 hc_applydan
 * 
 * @author ruoyi
 * @date 2023-03-31
 */
public class HcApplydan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 领用单号 */
    private String aid;

    /** 科室编号 */
    @Excel(name = "科室编号")
    private String kcode;

    /** 领用科室 */
    @Excel(name = "领用科室")
    private String kname;

    /** 申请人 */
    @Excel(name = "申请人")
    private String person;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;


    /** 审核状态 */
    @Excel(name = "审核状态")
    private String status;

    @Excel(name = "当前执行人")
    private String assignee;

    public String getAssignee() {
        return assignee;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAid(String aid) 
    {
        this.aid = aid;
    }

    public String getAid() 
    {
        return aid;
    }
    public void setKcode(String kcode) 
    {
        this.kcode = kcode;
    }

    public String getKcode() 
    {
        return kcode;
    }
    public void setKname(String kname) 
    {
        this.kname = kname;
    }

    public String getKname() 
    {
        return kname;
    }
    public void setPerson(String person) 
    {
        this.person = person;
    }

    public String getPerson() 
    {
        return person;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("aid", getAid())
            .append("kcode", getKcode())
            .append("kname", getKname())
            .append("person", getPerson())
            .append("time", getTime())
            .append("status", getStatus())
            .toString();
    }
}
